\(\int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx\) [32]

   Optimal result
   Rubi [A] (verified)
   Mathematica [B] (warning: unable to verify)
   Maple [B] (warning: unable to verify)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 39, antiderivative size = 116 \[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=-\frac {E\left (\arcsin \left (\frac {\cos (e+f x)}{1+\sin (e+f x)}\right )|-\frac {a-b}{a+b}\right ) \sqrt {\frac {\sin (e+f x)}{1+\sin (e+f x)}} \sqrt {a+b \sin (e+f x)}}{c f \sqrt {g \sin (e+f x)} \sqrt {\frac {a+b \sin (e+f x)}{(a+b) (1+\sin (e+f x))}}} \]

[Out]

-EllipticE(cos(f*x+e)/(1+sin(f*x+e)),((-a+b)/(a+b))^(1/2))*(sin(f*x+e)/(1+sin(f*x+e)))^(1/2)*(a+b*sin(f*x+e))^
(1/2)/c/f/(g*sin(f*x+e))^(1/2)/((a+b*sin(f*x+e))/(a+b)/(1+sin(f*x+e)))^(1/2)

Rubi [A] (verified)

Time = 0.14 (sec) , antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {3011} \[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=-\frac {\sqrt {\frac {\sin (e+f x)}{\sin (e+f x)+1}} \sqrt {a+b \sin (e+f x)} E\left (\arcsin \left (\frac {\cos (e+f x)}{\sin (e+f x)+1}\right )|-\frac {a-b}{a+b}\right )}{c f \sqrt {g \sin (e+f x)} \sqrt {\frac {a+b \sin (e+f x)}{(a+b) (\sin (e+f x)+1)}}} \]

[In]

Int[Sqrt[a + b*Sin[e + f*x]]/(Sqrt[g*Sin[e + f*x]]*(c + c*Sin[e + f*x])),x]

[Out]

-((EllipticE[ArcSin[Cos[e + f*x]/(1 + Sin[e + f*x])], -((a - b)/(a + b))]*Sqrt[Sin[e + f*x]/(1 + Sin[e + f*x])
]*Sqrt[a + b*Sin[e + f*x]])/(c*f*Sqrt[g*Sin[e + f*x]]*Sqrt[(a + b*Sin[e + f*x])/((a + b)*(1 + Sin[e + f*x]))])
)

Rule 3011

Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/(Sqrt[(g_.)*sin[(e_.) + (f_.)*(x_)]]*((c_) + (d_.)*sin[(e_.) +
(f_.)*(x_)])), x_Symbol] :> Simp[(-Sqrt[a + b*Sin[e + f*x]])*(Sqrt[d*(Sin[e + f*x]/(c + d*Sin[e + f*x]))]/(d*f
*Sqrt[g*Sin[e + f*x]]*Sqrt[c^2*((a + b*Sin[e + f*x])/((a*c + b*d)*(c + d*Sin[e + f*x])))]))*EllipticE[ArcSin[c
*(Cos[e + f*x]/(c + d*Sin[e + f*x]))], (b*c - a*d)/(b*c + a*d)], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[
b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && EqQ[c^2 - d^2, 0]

Rubi steps \begin{align*} \text {integral}& = -\frac {E\left (\arcsin \left (\frac {\cos (e+f x)}{1+\sin (e+f x)}\right )|-\frac {a-b}{a+b}\right ) \sqrt {\frac {\sin (e+f x)}{1+\sin (e+f x)}} \sqrt {a+b \sin (e+f x)}}{c f \sqrt {g \sin (e+f x)} \sqrt {\frac {a+b \sin (e+f x)}{(a+b) (1+\sin (e+f x))}}} \\ \end{align*}

Mathematica [B] (warning: unable to verify)

Leaf count is larger than twice the leaf count of optimal. \(3415\) vs. \(2(116)=232\).

Time = 28.98 (sec) , antiderivative size = 3415, normalized size of antiderivative = 29.44 \[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=\text {Result too large to show} \]

[In]

Integrate[Sqrt[a + b*Sin[e + f*x]]/(Sqrt[g*Sin[e + f*x]]*(c + c*Sin[e + f*x])),x]

[Out]

(-2*Sin[(e + f*x)/2]*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sin[e + f*x]*Sqrt[a + b*Sin[e + f*x]])/(f*Sqrt[g*Si
n[e + f*x]]*(c + c*Sin[e + f*x])) + ((Cos[(e + f*x)/2] + Sin[(e + f*x)/2])^2*Sqrt[a + b*Sin[e + f*x]]*((a*Sqrt
[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]]) - (b*Sqrt[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]]) + (a*Cot[(e
 + f*x)/2]*Sqrt[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]]) + (b*Cot[(e + f*x)/2]*Sqrt[Sin[e + f*x]])/(2*Sqrt[
a + b*Sin[e + f*x]]) - (b*Cos[(3*(e + f*x))/2]*Csc[(e + f*x)/2]*Sqrt[Sin[e + f*x]])/(2*Sqrt[a + b*Sin[e + f*x]
]) + (b*Csc[(e + f*x)/2]*Sqrt[Sin[e + f*x]]*Sin[(3*(e + f*x))/2])/(2*Sqrt[a + b*Sin[e + f*x]]))*(1 - Cos[e + f
*x] + Sin[e + f*x] - (2*a*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]
]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-
a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt
[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a
^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-
a^2 + b^2])])))/(f*Sqrt[g*Sin[e + f*x]]*(c + c*Sin[e + f*x])*((b*Cos[e + f*x]*(1 - Cos[e + f*x] + Sin[e + f*x]
 - (2*a*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqr
t[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan
[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/
2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^2]*Sqrt[(a*
Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])))/(2
*Sqrt[Sin[e + f*x]]*Sqrt[a + b*Sin[e + f*x]]) - (Cos[e + f*x]*Sqrt[a + b*Sin[e + f*x]]*(1 - Cos[e + f*x] + Sin
[e + f*x] - (2*a*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]
], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2
] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(
e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^2]
*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2
])])))/(2*Sin[e + f*x]^(3/2)) + (Sqrt[a + b*Sin[e + f*x]]*(Cos[e + f*x] + Sin[e + f*x] + (a^2*Sec[(e + f*x)/2]
^2*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^
2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e +
 f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(
-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(2*Sqrt[-a^2 + b^2]*(-b + Sqrt[
-a^2 + b^2])*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*((a*Tan[(e + f*x)/2])/(-b + Sqrt[-a
^2 + b^2]))^(3/2)) + (a*((a*b*Cos[e + f*x]*Sec[(e + f*x)/2]^2)/(a^2 - b^2) + (a*Sec[(e + f*x)/2]^2*(a + b*Sin[
e + f*x])*Tan[(e + f*x)/2])/(a^2 - b^2))*(EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/S
qrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2] + EllipticF[ArcSin[S
qrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^
2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2
]))]))/(Sqrt[-a^2 + b^2]*((a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2))^(3/2)*Sqrt[(a*Tan[(e + f*x)
/2])/(-b + Sqrt[-a^2 + b^2])]) - (2*a*((EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqr
t[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2)/2 - (a*EllipticF[Ar
cSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sq
rt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])/(4*(b + Sqrt[-a^2 + b^
2])*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]) + (a*EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a
*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2
*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))])/(4*(-b + Sqrt[-a^2 + b^2])*Sqrt[(a*Tan[(e + f*x)/2])/(-
b + Sqrt[-a^2 + b^2])]) - (a*Sec[(e + f*x)/2]^2*Tan[(e + f*x)/2]*Sqrt[1 - (-b + Sqrt[-a^2 + b^2] - a*Tan[(e +
f*x)/2])/(-b + Sqrt[-a^2 + b^2])])/(4*Sqrt[2]*Sqrt[-a^2 + b^2]*Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2
])/Sqrt[-a^2 + b^2]]*Sqrt[1 - (-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/(2*Sqrt[-a^2 + b^2])]) + (a*Sec[(e
+ f*x)/2]^2*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^
2]))])/(4*Sqrt[2]*Sqrt[-a^2 + b^2]*Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]*Sqrt[1 -
 (b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/(2*Sqrt[-a^2 + b^2])]*Sqrt[1 - (b + Sqrt[-a^2 + b^2] + a*Tan[(e +
 f*x)/2])/(b + Sqrt[-a^2 + b^2])])))/(Sqrt[-a^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 -
 b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])))/Sqrt[Sin[e + f*x]]))

Maple [B] (warning: unable to verify)

Leaf count of result is larger than twice the leaf count of optimal. \(3006\) vs. \(2(108)=216\).

Time = 2.16 (sec) , antiderivative size = 3007, normalized size of antiderivative = 25.92

method result size
default \(\text {Expression too large to display}\) \(3007\)

[In]

int((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*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^2)^(1/2)+b))^(1/2),1/2*2^(1/2)*((b+(-a^2+b^2)
^(1/2))/(-a^2+b^2)^(1/2))^(1/2))*2^(1/2)*a^2+2*(1/(b+(-a^2+b^2)^(1/2))*(a*(csc(f*x+e)-cot(f*x+e))+(-a^2+b^2)^(
1/2)+b))^(1/2)*(1/(-a^2+b^2)^(1/2)*(-a*(csc(f*x+e)-cot(f*x+e))+(-a^2+b^2)^(1/2)-b))^(1/2)*(-a/(b+(-a^2+b^2)^(1
/2))*(csc(f*x+e)-cot(f*x+e)))^(1/2)*EllipticE((1/(b+(-a^2+b^2)^(1/2))*(a*(csc(f*x+e)-cot(f*x+e))+(-a^2+b^2)^(1
/2)+b))^(1/2),1/2*2^(1/2)*((b+(-a^2+b^2)^(1/2))/(-a^2+b^2)^(1/2))^(1/2))*2^(1/2)*b^2+2*csc(f*x+e)^3*a^2*(1-cos
(f*x+e))^3+4*csc(f*x+e)^2*a*b*(1-cos(f*x+e))^2+2*a^2*(csc(f*x+e)-cot(f*x+e)))/(-cot(f*x+e)+csc(f*x+e)+1)/(a*(1
-cos(f*x+e))^2*csc(f*x+e)^2+2*b*(csc(f*x+e)-cot(f*x+e))+a)*2^(1/2)/a

Fricas [F]

\[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=\int { \frac {\sqrt {b \sin \left (f x + e\right ) + a}}{{\left (c \sin \left (f x + e\right ) + c\right )} \sqrt {g \sin \left (f x + e\right )}} \,d x } \]

[In]

integrate((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

integral(-sqrt(b*sin(f*x + e) + a)*sqrt(g*sin(f*x + e))/(c*g*cos(f*x + e)^2 - c*g*sin(f*x + e) - c*g), x)

Sympy [F]

\[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=\frac {\int \frac {\sqrt {a + b \sin {\left (e + f x \right )}}}{\sqrt {g \sin {\left (e + f x \right )}} \sin {\left (e + f x \right )} + \sqrt {g \sin {\left (e + f x \right )}}}\, dx}{c} \]

[In]

integrate((a+b*sin(f*x+e))**(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))**(1/2),x)

[Out]

Integral(sqrt(a + b*sin(e + f*x))/(sqrt(g*sin(e + f*x))*sin(e + f*x) + sqrt(g*sin(e + f*x))), x)/c

Maxima [F]

\[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=\int { \frac {\sqrt {b \sin \left (f x + e\right ) + a}}{{\left (c \sin \left (f x + e\right ) + c\right )} \sqrt {g \sin \left (f x + e\right )}} \,d x } \]

[In]

integrate((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sin(f*x + e) + a)/((c*sin(f*x + e) + c)*sqrt(g*sin(f*x + e))), x)

Giac [F]

\[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=\int { \frac {\sqrt {b \sin \left (f x + e\right ) + a}}{{\left (c \sin \left (f x + e\right ) + c\right )} \sqrt {g \sin \left (f x + e\right )}} \,d x } \]

[In]

integrate((a+b*sin(f*x+e))^(1/2)/(c+c*sin(f*x+e))/(g*sin(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sin(f*x + e) + a)/((c*sin(f*x + e) + c)*sqrt(g*sin(f*x + e))), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {a+b \sin (e+f x)}}{\sqrt {g \sin (e+f x)} (c+c \sin (e+f x))} \, dx=\int \frac {\sqrt {a+b\,\sin \left (e+f\,x\right )}}{\sqrt {g\,\sin \left (e+f\,x\right )}\,\left (c+c\,\sin \left (e+f\,x\right )\right )} \,d x \]

[In]

int((a + b*sin(e + f*x))^(1/2)/((g*sin(e + f*x))^(1/2)*(c + c*sin(e + f*x))),x)

[Out]

int((a + b*sin(e + f*x))^(1/2)/((g*sin(e + f*x))^(1/2)*(c + c*sin(e + f*x))), x)